let common_type_byUrl=decodeURI(getQueryVariable("type"));
let common_$header = $("#header");

let common_$footer = $("#footer");

let common_about="about.html";
let common_aboutName=common_about.substring(0,common_about.lastIndexOf("."));
let common_review="review.html";
let common_reviewName=common_review.substring(0,common_review.lastIndexOf("."));
let common_index="index.html";
let common_indexName=common_index.substring(0,common_index.lastIndexOf("."));
let common_search="search.html";
let common_searchName=common_search.substring(0,common_search.lastIndexOf("."));
let common_upFilm="upFilm.html";
let common_upFilmName=common_upFilm.substring(0,common_upFilm.lastIndexOf("."));
let common_play="play.html";
let common_playName=common_play.substring(0,common_play.lastIndexOf("."));
let common_SignIn="SignIn.html";
let common_SignInName=common_SignIn.substring(0,common_SignIn.lastIndexOf("."));
let FilmUrl=Cookies.get("FilmUrl");
if(Cookies.get("FilmUrl")===undefined){
    FilmUrl="";
}
let UserUrl = Cookies.get("UserUrl");
if(UserUrl===undefined){
    $.post(
        FilmUrl+"GetUserUrl",
        function (data) {
            UserUrl=data["data"];
            Cookies.set("UserUrl",UserUrl);
        },
        "json"
    )
}